package com.shoeshopping.utils.joseph;

import com.shoeshopping.entity.User;
import com.shoeshopping.formbean.joseph.UserForm;

public class UserForm2User {
	public static User toUser(UserForm userForm){
		User user = new User();
		user.setUsername(userForm.getUsername());
		user.setPassword(userForm.getPassword());
		user.setEmail(userForm.getEmail());
		return user;
	}
}
